GitHub - List commits
(8 actions, 12 KB)
0 Comment
https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#list-commits
1 DataJar > GetValueIntent »
6
keyPath
:
API Credentials.GitHub
2 Get Dictionary from
[Shortcut Input
as Dictionary.pathParams
]
➔ pathParams
»
5
3 Get Dictionary from
[Shortcut Input
as Dictionary.queryParams
]
➔ queryParams
»
4 ToolboxProForShortcuts > CreateQueryItemIntent »
dictionary
:
[3 queryParams]
inputType
:
dictionary
5 ToolboxProForShortcuts > BuildURLIntent »
path
:
/repos/
[2 pathParams
.owner
]
/
[2 pathParams
.repo
]
/commits
host
:
api.github.com
queryItems
:
[4 Query Item]
6 Get Contents of URL
[5 URL]
»
HTTPBodyType
:
File
ShowHeaders
:
true
HTTPHeaders
:
{ "Accept": "application/vnd.github+json", "Authorization": "Bearer
[1 Value
as Dictionary.apiToken
]
", "X-GitHub-Api-Version": "2022-11-28" }
HTTPMethod
:
GET
7 Stop and Output
[6 Contents of URL]